package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.CustomerVisitPerson;
import com.sl.au.entity.CustomerVisiting;
import com.sl.au.entity.CustomerVisitingCost;
import com.sl.au.repository.CustomerVisitPersonRepository;
import com.sl.au.repository.CustomerVisitingCostRepository;
import com.sl.au.repository.CustomerVisitingRepository;


public interface CustomerVisitingService extends BaseService {
	CustomerVisitingRepository getCustomerVisitingRepository();
	
	CustomerVisitPersonRepository getCustomerVisitPersonRepository();
	
	CustomerVisitingCostRepository getCustomerVisitingCostRepository();

    /*
     * 获得客户来访信息
     */
	List<CustomerVisiting> getVisit(int start, int length, String key, String dataFilter, String superior, String areaName, String userId);
	
	long getVisitCount(String key, String dataFilter, String superior, String areaName, String userId);
	
	/*
     * 获得一个客户的来访信息
     */
	List<CustomerVisiting> getVisitById(int start, int length, String key, String customerId);
	/*
     * 获得客户来访人员
     */
	
	List<CustomerVisitPerson> getVisitPerson(int start, int length, String key, String visitId);

	/*
     * 获得客户来访费用
     */
	
	List<CustomerVisitingCost> getVisitingCost(int start, int length, String key, String visitId);

}
